package com.dingli.framework.entity;

import java.sql.Date;

public class User {
    
  private int user_id;
  private String name;
  private String password;
  private String sex;
  private String phone;
  private String idCard;
  private long age;
  private long education;
  private long marriage;
  private java.sql.Date birthday;
  private long province;
  private long city;
  private long region;
  private String address;
  private long bankId;
  private long credit;
  private long role;
  private long themeId;

    public User() {
    }
    public User(int user_id, String name, String password, String sex, String phone, String idCard, long age, long education, long marriage, Date birthday, long province, long city, long region, String address, long bankId, long credit, long role, long themeId) {
        this.user_id = user_id;
        this.name = name;
        this.password = password;
        this.sex = sex;
        this.phone = phone;
        this.idCard = idCard;
        this.age = age;
        this.education = education;
        this.marriage = marriage;
        this.birthday = birthday;
        this.province = province;
        this.city = city;
        this.region = region;
        this.address = address;
        this.bankId = bankId;
        this.credit = credit;
        this.role = role;
        this.themeId = themeId;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public long getAge() {
        return age;
    }

    public void setAge(long age) {
        this.age = age;
    }

    public long getEducation() {
        return education;
    }

    public void setEducation(long education) {
        this.education = education;
    }

    public long getMarriage() {
        return marriage;
    }

    public void setMarriage(long marriage) {
        this.marriage = marriage;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public long getProvince() {
        return province;
    }

    public void setProvince(long province) {
        this.province = province;
    }

    public long getCity() {
        return city;
    }

    public void setCity(long city) {
        this.city = city;
    }

    public long getRegion() {
        return region;
    }

    public void setRegion(long region) {
        this.region = region;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public long getBankId() {
        return bankId;
    }

    public void setBankId(long bankId) {
        this.bankId = bankId;
    }

    public long getCredit() {
        return credit;
    }

    public void setCredit(long credit) {
        this.credit = credit;
    }

    public long getRole() {
        return role;
    }

    public void setRole(long role) {
        this.role = role;
    }

    public long getThemeId() {
        return themeId;
    }

    public void setThemeId(long themeId) {
        this.themeId = themeId;
    }

    @Override
    public String toString() {
        return "User{" +
                "user_id=" + user_id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                ", idCard='" + idCard + '\'' +
                ", age=" + age +
                ", education=" + education +
                ", marriage=" + marriage +
                ", birthday=" + birthday +
                ", province=" + province +
                ", city=" + city +
                ", region=" + region +
                ", address='" + address + '\'' +
                ", bankId=" + bankId +
                ", credit=" + credit +
                ", role=" + role +
                ", themeId=" + themeId +
                '}';
    }
}
